package com.namecard.namecardapi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.namecard.namecardapi.entity.TComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TCommentMapper extends BaseMapper<TComment> {

    //分页查询
    IPage<TComment> selectPage(Page<TComment> pageParam, @Param("commodityId") Long commodityId);
}
